//@author A0087191Y
package net.mysoc.w111j.service.actions;

import net.mysoc.w111j.model.Expense;
import net.mysoc.w111j.model.User;

/**
 * An {@code Action} to undo the deleting of an {@code Expense}.
 */
public class DeleteExpenseAction extends ModifyExpenseAction {
    public DeleteExpenseAction(User user, Expense oldExpense) {
        super(user, oldExpense);
        super.setStatusString("Deleted expense: id." + oldExpense.getId() + " " + oldExpense.getName());
    }
}
